#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <DMainWindow>
#include "widget.h"
#include <DPushButton>
#include <dsegmentedcontrol.h>
#include <QStackedLayout>
#include "controlspage.h"
#include "encryptionpage.h"

DWIDGET_USE_NAMESPACE

class MainWindow : public DMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    QStackedLayout *m_layout;
    DSegmentedControl *m_seg;
    ControlsPage *m_controlsPage;
    Encryptionpage *m_encryptionPage;

    void initUI();
    void initConnections();

};

#endif // MAINWINDOW_H
